The Symmetric Alldiff Constraint

نویسنده

  • Jean-Charles Régin
چکیده

The symmetric alldiff constraint is a particular case of the alldiff constraint, a case in which variables and values are defined from the same set 5. That is, every variable represents an element c of S and its values represent the elements of S that are compatible with c. This constraint requires that all the values taken by the variables are different (similar to the classical alldiff constraint) and that if the variable representing the element / is assigned to the value representing the element j, then the variable representing the element j is assigned to the value representing the element ?'. This constraint is present in many real-world problems , such sports scheduling where it expresses matches between teams. In this paper, we show how to compute the arc consistency of this constraint in , where n is the number of involved variables and the domain of the variable i. We also propose a filtering algorithm of less complexity (O(rn)). 1 Introduction Constraint Satisfaction Problems (CSPs) involve finding values for problem variables subject to constraints on which combinations are acceptable. They are more and more used in real-life applications, such as frequency allocation , crew scheduling, time tabling, car sequencing, etc. [Simonis, 1996]. The general task of finding a solution in a constraint network being NP-hard, many researchers have concentrated on improving the efficiency of solving a CSP. Currently, it seems that a look-ahead approach is the most promising way. The purpose of this technique is to look at the values of the variables that are not yet instantiated and to remove values that cannot lead to a solution w.r.t. the current partial instantiation. Thus, it anticipates the detection of some failures by using a particular treatment after each modification of domain variables. A filtering algorithm is one such particular treatment. With respect to a partial instantiation, it removes once and for all certain inconsistencies that would have been discovered several times otherwise. Techniques ba,sed on filtering algorithms are thus quite important. Particularly, arc consistency caught the attention of many researchers, who then discovered a large number of algorithms. Furthermore, it is necessary to deal directly with the arity of the constraints because nonbiliary constraints lose much of their semantics when encoded into a set of binary constraints. (See [Regin, 1994].) This encoding leads, for example, to behavior that prunes much less for filtering algorithms handling it. When the …

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Overlapping Alldiff constraints: SAT versus CSP encoding application to the Sudoku

Constraint satisfaction problems (CSP) or Boolean satisfiability problem (SAT) are two well-known paradigms to model and solve combinatorial problems. Modeling and resolution of CSP is often strengthened by global constraints (e.g., Alldiff constraint). This paper highlights two different ways of handling specific structural information: a uniform propagation framework to handle (interleaved) A...

متن کامل

Overlapping Alldifferent Constraints and the Sudoku puzzle

Combinatorial problems can be modeled as constraint satisfaction problems (CSP). Modeling and resolution of CSP is often strengthened by global constraints (e.g., Alldiff constraint). We propose a formal system and some propagation rules for reducing domains of variables appearing in several Alldiff global constraints. We illustrate our approach on the well-known Sudoku puzzle which presents 27...

متن کامل

A Fast Algorithm for the Bound Consistency of alldiff Constraints

Some n-ary constraints such as the alldiff constraints arise naturally in real fife constraint satisfaction problems (CSP). General purpose filtering algorithms could be applied to such constraints. By taking the semantics of the constraint into account, it is possible to design more efficient filtering algorithms. When the domains of the variables are totally ordered (e.g. all values are integ...

متن کامل

Managing Multiple Alldifferent Constraints in CSP and SAT

Combinatorial problems are generally modeled as constraint satisfaction problems (CSP) or Boolean satisfiability problem (SAT). Modeling and resolution of CSP is often strenghtened by global constraints (e.g., Alldiff constraint) whereas no such high level feature is offered in SAT. In this paper, we propose a uniform propagation framework to handle Alldiff constraints (possibly interleaved) wi...

متن کامل

Constraint Satisfaction Problems: Convexity Makes AllDifferent Constraints Tractable

We examine the complexity of constraint satisfaction problems that consist of a set of AllDiff constraints. Such CSPs naturally model a wide range of real-world and combinatorial problems, like scheduling, frequency allocations and graph coloring problems. As this problem is known to be NP-complete, we investigate under which further assumptions it becomes tractable. We observe that a crucial p...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999